package com.geotmt.billingcenter.modules.consume.mapper.provider;

import com.geotmt.billingcenter.common.entry.ConsumeRuleHisEntry;

/**
 * @Description 类描述
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/13 15:24
 * @Version     v1
 **/
public class ConsumeRuleHisProvider {

    /**
     * add
     * @param obj
     * @return
     */
    public String add(ConsumeRuleHisEntry obj){
        StringBuffer sql = new StringBuffer();
        sql.append("INSERT INTO `fin_consume_his_conf_rule`")
                .append(" (price,discount,stair_cycle,stair_start_time)")
                .append(" VALUES")
                .append(" (#{price},#{discount},#{stairCycle},#{stairStartTime})");
        return sql.toString();
    }
}
